<template>
  <div id="company">
    <div class="company-top">
      <el-row id="hot_company" style="padding-top:20px">
        <el-col :span="3">
          <div class="grid-content bg-purple"></div>
        </el-col>
        <el-col :span="18">
          <div class="grid-content bg-purple">
            <el-row>
              <CompanySearch></CompanySearch>
            </el-row>
          </div>
        </el-col>
        <el-col :span="3">
          <div class="grid-content bg-purple"></div>
        </el-col>
      </el-row>
    </div>
    <div class="company-bottom">
      <el-row id="hot_company" style=";padding-top:30px">
        <el-col :span="3">
          <div class="grid-content bg-purple"></div>
        </el-col>
        <el-col :span="18">
          <div class="grid-content bg-purple">
            <el-row>
              <CompanyResult :companyName="companyName"></CompanyResult>
            </el-row>
          </div>
        </el-col>
        <el-col :span="3">
          <div class="grid-content bg-purple"></div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
import CompanySearch from "@/components/common/CompanySearch";
import CompanyResult from "@/components/content/CompanyResult";

export default {
  name: "Company",
  components: {
    CompanySearch,
    CompanyResult
  },
  data(){
    return{
      companyName:''
    }
  },
  created() {
    this.companyName=this.$route.params.companyName;
  },
}
</script>

<style scoped>
.grid-content {
  min-height: 50px;
  font-size: 14px;
}

.company-top {
  background-color: white;
  height: 256px;
}

.recruit_img {
  height: 160px;
  margin-top: 12px;
}
</style>